import Layout from '@/layout'

export default {
  path: '/cars',
  component: Layout,
  name: 'cars',
  redirect: '/branches/operational-range',
  meta: { title: '车辆管理', icon: 'el-icon-s-help' },
  children: [
    {
      path: '/transit/car-models',
      name: 'car-models',
      component: () => import('@/views/cars/car-models'),
      meta: { title: '车型管理' }
    },
    {
      path: '/transit/vehicle',
      name: 'vehicle',
      component: () => import('@/views/cars/vehicle'),
      meta: { title: '车辆列表' }
    },
    {
      path: '/transit/car-register',
      name: 'car-register',
      component: () => import('@/views/cars/car-register'),
      meta: { title: '回车登记' }
    }
  ]
}
